ImageOptimization\Modules\Optimization\Classes\Optimize_Image S

Total Complexity 38
Dependencies 20
Dependents 3
Total lines 330
Lines of code 209
Logical lines of code 109
Comment lines 47
Methods 9
Properties 9

Methods 9

Method Rating Maintainability Complexity Lines of code
send_file()
A
42 9 53
optimize()
A
43 9 50
replace_image_file()
S
50 7 30
optimize_current_size()
S
52 5 23
update_attachment_meta()
S
54 3 22
update_attachment_post()
S
62 2 11
update_posts()
S
72 1 6
mark_as_optimized()
S
73 1 6
__construct()
S
66 1 8